const path = require('path');
const e = require('@happypack/example-utils');

module.exports = {
  context: path.resolve(__dirname),
  entry: e.resolve(module, 'lib/index.js'),

  output: {
    path: e.outputDir(module),
    filename: '[name].js'
  },

  module: {
    loaders: [
      {
        test: /\.json$/,
        loader: 'json',
      },
    ],
  }
}
